Document text handle styling
authorMatthias Clasen <mclasen@redhat.com>
Tue, 10 Nov 2015 04:45:29 +0000 (23:45 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 10 Nov 2015 04:45:29 +0000 (23:45 -0500)
Since GtkTextHandle is private, document text handle style
classes in the GtkEntry and GtkTextView documentation.

gtk/gtkentry.c

index e5d38863bf356a9a0a03e6dd91bfe3a233d7147e..fba26f85700f3dd8cb883eda6b0bfb4894999626 100644 (file)
  *
  * When the entry shows progress, it adds a subnode with the name progress.
  * The node has the style class .pulse when the shown progress is pulsing.
+ *
+ * When touch is used and touch selection handles are shown, they are using
+ * CSS nodes with name cursor-handle. They get the .top or .bottom style class
+ * depending on where they are shown in relation to the selection. If there is
+ * just a single handle for the text cursor, it gets the style class
+ * .insertion-cursor.
  */